package com.idak.spring.web.flow;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Person implements Serializable {

	private Long personId;
	private String lastName;
	private String firstName;
	private String phoneNumber;
	private String email;
	
	public Person(Long personId, String lastName, String firstName,String phoneNumber, String email) {
		this.personId = personId;
		this.lastName = lastName;
		this.firstName = firstName;
		this.phoneNumber = phoneNumber;
		this.email = email;
	}
	public Long getPersonId() {return personId;}
	public void setPersonId(Long personId) {this.personId = personId;}
	
	public String getLastName() {return lastName;}
	public void setLastName(String lastName) {this.lastName = lastName;}
	
	public String getFirstName() {return firstName;}
	public void setFirstName(String firstName) {this.firstName = firstName;}
	
	public String getPhoneNumber() {return phoneNumber;}
	public void setPhoneNumber(String phoneNumber) {this.phoneNumber = phoneNumber;}
	
	public String getEmail() {return email;}
	public void setEmail(String email) {this.email = email;}
	
	@Override
	public String toString() {
		return "["+ personId+" "+ lastName+" "+firstName+" "+ phoneNumber+" "+ email+"]";
	}
}
